package org.sg20.searchengine.sort;

import org.apache.hadoop.io.BinaryComparable;
import org.apache.hadoop.io.Text;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;

public class TextReverse extends Text {
    TextReverse(){
        super();
    }
    TextReverse(String s){
        super(s);
    }

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public void readFields(DataInput in) throws IOException {
        super.readFields(in);
    }


    @Override
    public void write(DataOutput out) throws IOException {
        super.write(out);

    }

    @Override
    public String toString() {
        return super.toString();
    }

    @Override
    public int compareTo(BinaryComparable other) {
        return -super.compareTo(other);
    }
}
